package com.example.todoapp.data;

import com.example.todoapp.data.entities.TagItem;
import com.example.todoapp.data.entities.TodoItem;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

public interface TagItemRepository extends CrudRepository<TagItem, Long>, JpaSpecificationExecutor<TagItem> {
    /**
     * 根据 ID 查询
     * @param id
     * @return
     */
    TodoItem findFirstById(Long id);
}
